
package com.kensure.shike.baobei.dao;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import co.kensure.annotation.MyBatisRepository;
import co.kensure.frame.JSBaseDao;

import com.kensure.shike.baobei.model.SKType;

/**
 * 商品类目 Dao接口类
 * 
 * @author fankd created on 2019-7-9
 * @since 
 */
 @MyBatisRepository
public interface SKTypeDao extends JSBaseDao<SKType> {
	
	
	public SKType selectOne(Long id);
	
	public List<SKType> selectByIds(Collection<Long> ids);
	
	public List<SKType> selectAll();
	
	public List<SKType> selectByWhere(Map<String, Object> parameters);
	
	
	public long selectCount();
	
	public long selectCountByWhere(Map<String, Object> parameters);
	
	
	public boolean insert(SKType obj);
	
	public boolean update(SKType obj);
    
    public boolean updateByMap(Map<String, Object> params);
    
    
	public boolean delete(Long id);	
	
    public boolean deleteMulti(Collection<Long> ids);
    
    public boolean deleteByWhere(Map<String, Object> parameters);
	
	
}
